<template>
  <el-form
    label-position="top"
    class="p-10"
  >
    <el-form-item label="视频资源">
      <el-input
        placeholder="请输入视频资源"
        v-model="activeData.extConfig.source"
        clearable
      ></el-input>
    </el-form-item>
    <el-form-item label="视频宽度">
      <el-input-number
        placeholder="请输入宽度"
        v-model="activeData.extConfig.width"
      ></el-input-number>px
    </el-form-item>
    <el-form-item label="视频高度">
      <el-input-number
        placeholder="请输入高度"
        v-model="activeData.extConfig.height"
      ></el-input-number>px
    </el-form-item>
    <el-form-item label="自动播放">
      <el-switch v-model="activeData.extConfig.autoplay" />
    </el-form-item>
    <el-form-item label="循环播放">
      <el-switch v-model="activeData.extConfig.loop" />
    </el-form-item>
    <el-form-item label="静音播放">
      <el-switch v-model="activeData.extConfig.muted" />
    </el-form-item>
    <!-- <el-form-item label="播放控件">
      <el-switch v-model="activeData.extConfig.controls" />
    </el-form-item> -->
  </el-form>
</template>
<script>
export default {
  name: "video-config",
  props: ["activeData"],
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {},
};
</script>
